package com.shqcjd.yunweiyanoperator.model.pojo;

import java.util.List;

public class RouteInfoBean {

    /**
     * id : 1
     * name : 电动机巡检路线
     * working : true
     * total : {"point":22,"equipment":45,"equipment_part_item":230}
     * patrol_point : [{"id":1,"longitude":"99.99","latitude":"99.99"},{"id":2,"longitude":"99.99","latitude":"99.99"},{"id":3,"longitude":"99.99","latitude":"99.99"}]
     */

    public int id;
    public String name;
    public boolean working;
    public int task_id;
    public int user_id;
    public String token;
    public TotalBean total;
    public List<PatrolPointBean> patrol_point;

    public static class TotalBean {
        /**
         * point : 22
         * equipment : 45
         * equipment_part_item : 230
         */

        public int point;
        public int equipment;
        public int equipment_part_item;
    }

    public static class PatrolPointBean {
        /**
         * id : 1
         * longitude : 99.99
         * latitude : 99.99
         */

        public int id;
        public String longitude;
        public String latitude;
    }
}
